package com.lzf.yh.controller;

import com.lzf.yh.commons.JsonBean;
import com.lzf.yh.userService.Recommend_guitarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: Wyz
 * @Date: 2021/4/16 08:38
 * @Description:
 */
@RestController
public class Recommend_guitarController {

    @Autowired
    private Recommend_guitarService recommend_guitarService;

    @GetMapping("selectAllRecommend_guitar")
    public JsonBean selectAllRecommend_guitar() {
        return recommend_guitarService.selectAllRecommend_guitar();
    }



    @GetMapping("selectOneRecommend_guitar")
    public JsonBean selectOneRecommend_guitar(Integer id) {
        return recommend_guitarService.selectOneRecommend_guitar(id);
    }

}
